﻿using Microsoft.AspNetCore.Mvc;
using ruleEngineDemo.engine.factory;
using ruleEngineDemo.engine.factory.product;
using ruleEngineDemo.engine.rulesengine.product;

namespace ruleEngineDemo.engine.rulesengine
{
    public class RulesEngineFactory : AbstractEngineFactory
    {
        public IBasicRules GetBasicRules()
        {
            return new BasicRules();
        }

        public IJsonRules GetJsonRules()
        {
            return new JsonRules();
        }

        public IEfRules GetEfRules()
        {
            return new EfRules();
        }
    }
}
